//
//  StatusBottomCell.swift
//  01MicroBlog
//
//  Created by Apple on 15/8/3.
//  Copyright © 2015年 heima. All rights reserved.
//

import UIKit

class StatusBottomView: UIView {

   override init(frame: CGRect) {
        super.init(frame: frame)
    
        setUpUI()
    }
    
    private func setUpUI() {
        addSubview(forwardButton)
        addSubview(commentButton)
        addSubview(likeButton)
        backgroundColor = UIColor(white: 0.9, alpha: 1.0)
        
        ff_HorizontalTile([forwardButton, commentButton, likeButton], insets: UIEdgeInsetsZero)
    }
    

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    // MARK: - 懒加载控件
    private lazy var forwardButton:UIButton = UIButton(title: " 转发", backgroundImg: "timeline_icon_retweet")
    private lazy var commentButton:UIButton = UIButton(title: " 评论", backgroundImg: "timeline_icon_comment")
    private lazy var likeButton:UIButton = UIButton(title: " 赞", backgroundImg: "timeline_icon_unlike")
}
